package com.zjsd.sqeybusiness.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 套餐信息对象 tcinfo
 *
 * @author Zheng
 * @date 2022-05-10
 */
public class Tcinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long tcid;

    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String tcname;

    /** 预充值金额 */
    @Excel(name = "预充值金额")
    private BigDecimal yczje;

    /** 折扣数值 */
    @Excel(name = "折扣数值")
    private BigDecimal zknum;

    /** 获利金额 */
    @Excel(name = "获利金额")
    private BigDecimal hlje;

    /** 备注 */
    @Excel(name = "备注")
    private String bz;

    private BigDecimal ssje ;

    private String yxbz ;

    private String tclx ;

    public String getTclx() {
        return tclx;
    }

    public void setTclx(String tclx) {
        this.tclx = tclx;
    }

    public String getYxbz() {
        return yxbz;
    }

    public void setYxbz(String yxbz) {
        this.yxbz = yxbz;
    }

    public BigDecimal getSsje() {
        return ssje;
    }

    public void setSsje(BigDecimal ssje) {
        this.ssje = ssje;
    }

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "备注", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lrtime;

    private List<Tcdetail> tcdetail = new ArrayList<Tcdetail>();

    public void setTcid(Long tcid)
    {
        this.tcid = tcid;
    }

    public Long getTcid()
    {
        return tcid;
    }
    public void setTcname(String tcname)
    {
        this.tcname = tcname;
    }

    public String getTcname()
    {
        return tcname;
    }
    public void setYczje(BigDecimal yczje)
    {
        this.yczje = yczje;
    }

    public BigDecimal getYczje()
    {
        return yczje;
    }
    public void setZknum(BigDecimal zknum)
    {
        this.zknum = zknum;
    }

    public BigDecimal getZknum()
    {
        return zknum;
    }
    public void setHlje(BigDecimal hlje)
    {
        this.hlje = hlje;
    }

    public BigDecimal getHlje()
    {
        return hlje;
    }
    public void setBz(String bz)
    {
        this.bz = bz;
    }

    public String getBz()
    {
        return bz;
    }
    public void setLrtime(Date lrtime)
    {
        this.lrtime = lrtime;
    }

    public Date getLrtime()
    {
        return lrtime;
    }

    public List<Tcdetail> getTcdetail() {
        return tcdetail;
    }

    public void setTcdetail(List<Tcdetail> tcdetail) {
        this.tcdetail = tcdetail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tcid", getTcid())
            .append("tcname", getTcname())
            .append("yczje", getYczje())
            .append("zknum", getZknum())
            .append("hlje", getHlje())
            .append("bz", getBz())
            .append("lrtime", getLrtime())
            .toString();
    }
}
